<?php if (!defined('MAX_ON')){echo "<h1>ACCESS DENIED</h1>You cannot access this file directly.";exit();} ?>
<?php if ($template_hook=='start'){ ?>
<?php }elseif ($template_hook=="2"){ ?>
		<table class="forum-board-forum-head" cellpadding="0" cellspacing="0">
			<tr><td class="forum-topic-subject"><?php echo $lang_admin['home_title']; ?></td></tr>
		</table>
		<table class="forum-index" cellpadding="0" cellspacing="0">
			<form name="submit" id="submit" method="post" action="<?php echo "$max_domain"; ?>/index.php?page=admin">
				<tr><td class="forum-jump-content" style="width: 100%;">
					<?php echo $lang_admin['home_desc']; ?><br /><br />
					<div class="f_right" style="width: 98%;">
						<textarea style="width: 100%; height: 250px;" class="post f_right" name="content" id="content"><?php echo "$content"; ?></textarea>
						<input type="hidden" name="form" value="1" />
					</div>
				</td></tr>
				<tr><td class="forum-index-stats-header forum-index-top" style="text-align: center;">
<?php if($can_change_forum_settings=='1' OR $can_change_site_settings=='1'){ ?>
					<input type="hidden" name="token_id" value="<?php echo "$token_id"; ?>" />
					<input type="hidden" name="<?php echo "$token_name"; ?>" value="<?php echo "$token"; ?>" />
<?php } ?>
					<input type="submit" class="img-submit" value="<?php echo $lang['button_submit']; ?>" />
				</td></tr>
			</form>
		</table>
		<table class="forum-index-forum-footer" cellpadding="0" cellspacing="0">
			<tr><td class="forum-index-forum-footer-contents"> </td></tr>
		</table>
<!-- start staff -->
		<table class="forum-board-forum-head" cellpadding="0" cellspacing="0">
			<tr><td class="forum-topic-subject"><?php echo $lang_admin['home_staff']; ?></td></tr>
		</table>
		<table class="forum-index" cellpadding="0" cellspacing="0">
				<tr><td class="forum-jump-content" style="width: 100%;">

					<div style="width: 100%;">
<table cellpadding="0" cellspacing="0" border="0" class="h_right" id="table1">
<tr valign="top">
	<td class="admin-dev1"><b><?php echo $lang_admin['staff_prog']; ?></b></td>
	<td class="admin-dev-alt1"><?php echo $dev_name; ?> [<a href="http://www.liioiil.com" target="_blank">TTMTT</a>] .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_test']; ?></b></td>
	<td class="admin-dev-alt"><?php echo $saf_name1." - ".$saf_name2; ?> .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_again']; ?></b></td>
	<td class="admin-dev-alt"><?php echo $re_name1." - ".$re_name2." - ".$re_name3." - ".$re_name4; ?> .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_support_vip']; ?></b></td>
	<td class="admin-dev-alt"><a href="http://www.max4dev.com/future" target="_blank"><?php echo $sup_name2; ?></a> - <a href="http://www.mtwer.com/vb" target="_blank"><?php echo $sup_name1; ?></a> .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_support']; ?></b></td>
	<td class="admin-dev-alt"><a href="http://www.max4dev.com" target="_blank"><?php echo $sup_name4; ?></a> - <a href="http://www.mtwer.com/vb" target="_blank"><?php echo $sup_name1; ?></a> - <a href="http://www.liioiil.com" target="_blank"><?php echo $sup_name3; ?></a> .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_lang']; ?></b></td>
	<td class="admin-dev-alt"><a href="http://www.ubuntu.com" target="_blank">Ubuntu</a> - <a href="http://www.launchpad.net" target="_blank">Launshpad</a> .</td>
</tr>
<tr valign="top">
	<td class="admin-dev"><b><?php echo $lang_admin['staff_license']; ?></b></td>
	<td class="admin-dev-alt" style="text-align: left;" dir="ltr"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_blank">Creative Commons 3.0 BY-SA</a> - <a href="http://www.gnu.org/licenses/gpl.txt" target="_blank">GNU GENERAL PUBLIC LICENSE - GPLv3</a><br />
		This program is free software: you can redistribute it and/or modify
		it under the terms of the GNU General Public License as published by
		the Free Software Foundation, either version 3 of the License, or any later version.</td>
</tr>
</table>
					</div>
				</td></tr>
		</table>
		<table class="forum-index-forum-footer" cellpadding="0" cellspacing="0">
			<tr><td class="forum-index-forum-footer-contents"> </td></tr>
		</table>
<!-- end staff -->
<?php }elseif ($template_hook=='1'){ ?>
		<table cellpadding="0" cellspacing="0" width="100%">

<?php if (file_exists("install.php")){ ?>
			<tr><td colspan="5">
				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$minus_img"; ?>" alt="" /><spen style="vertical-align: middle;"><?php echo $lang_admin['home_warning_install']; ?></spen>
					</td></tr>
				</table><br />
			</tr></td>
<?php } ?>
			<tr><td>
<?php }elseif ($template_hook=='3'){ ?>
				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$minus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=settings', 'admin/settings'); ?>"><?php echo $lang_admin['home_offline']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	
<?php }elseif ($template_hook=='4'){ ?>
				<table class="forum-jump module-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$plus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=settings#offline', 'admin/settings#offline'); ?>"><?php echo $lang_admin['home_online']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	
<?php }elseif ($template_hook=='5'){ ?>
				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$minus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=settings#register', 'admin/settings#register'); ?>"><?php echo $lang_admin['home_noregister']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	
<?php }elseif ($template_hook=='6'){ ?>
				<table class="forum-jump module-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$plus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=settings#register', 'admin/settings#register'); ?>"><?php echo $lang_admin['home_register']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">
<?php }elseif ($template_hook=='8'){ ?>
				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$minus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=attachments', 'admin/attachments'); ?>"><?php echo $lang_admin['home_noattachments']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	
<?php }elseif ($template_hook=='9'){ ?>
				<table class="forum-jump module-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$plus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=attachments', 'admin/attachments'); ?>"><?php echo $lang_admin['home_attachments']; ?></a>
					</td></tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">
<?php }elseif ($template_hook=='10'){ ?>
				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;" src="<?php echo "$minus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=spam', 'admin/spam'); ?>"><?php echo $lang_admin['home_spam_blank']; ?></a>
					</td></tr>
				</table>
<?php }elseif ($template_hook=='11'){ ?>
				<table class="forum-jump module-installed" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;"src="<?php echo "$plus_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=spam', 'admin/spam'); ?>"><?php echo $lang_admin['home_spam_current']; ?></a>
					</td></tr>
				</table>
<?php }elseif ($template_hook=='12'){ ?>
				<table class="forum-jump module-half" cellpadding="0" cellspacing="0">
					<tr><td class="forum-jump-content">
						<img style="vertical-align: middle;"src="<?php echo "$info_img"; ?>" alt="" /> <a style="vertical-align: middle;" href="<?php echo max_link('index.php?page=admin&act=spam', 'admin/spam'); ?>"><?php echo $lang_admin['home_spam_half']; ?></a>
					</td></tr>
				</table>
<?php } elseif ($template_hook == 13){ ?>

				<table class="forum-jump module-not-installed" cellpadding="0" cellspacing="0">
					<tr>
						<td class="forum-jump-content">
							<img style="vertical-align: middle;"src="<?php echo $minus_img; ?>" alt="" />
							<a style="vertical-align: middle;" href="<?php echo $contents[1]; ?>" target="_blank">
								<?php echo $lang_admin['home_version_update']; ?>
							</a>
						</td>
					</tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	

<?php } elseif ($template_hook == 14){ ?>

				<table class="forum-jump module-installed" cellpadding="0" cellspacing="0">
					<tr>
						<td class="forum-jump-content">
							<img style="vertical-align: middle;"src="<?php echo $plus_img; ?>" alt="" />
								<?php echo $lang_admin['home_version_current']; ?>
						</td>
					</tr>
				</table>
			</td>
			<td style="width: 20%; padding-<?php echo $lang['header_right']; ?>: 5px;">	

<?php }elseif ($template_hook=='7'){ ?>
			</td></tr>
		</table>
		<div class="spacer">&nbsp;</div>
<?php }elseif ($template_hook=='end'){ ?>
<?php } ?>
